package com.sjh.commons.base.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;

/**
 * 功能描述
 *
 * @author songjiahao
 * @date 2023/04/07  8:43
 */
@Data
public class BaseEntity {
    //mybatis plus会自动开启驼峰命名
    @TableField(fill = FieldFill.INSERT )
    private Date creatTime;
    @TableField(fill = FieldFill.INSERT_UPDATE )
    private Date updateTime;
    @TableField(fill = FieldFill.INSERT )
    private Integer status;
    @TableField(fill = FieldFill.INSERT )
    private Integer delFlag;
}
